package com.wn.class30.entity;

import java.io.Serializable;

/**
 * orderdeploy
 * @author 
 */
public class Orderdeploy implements Serializable {
    private Integer id;

    /**
     * 正常订单超时
     */
    private Integer ordertime;

    /**
     * 发货未确认时间
     */
    private Integer deliverytime;

    /**
     * 订单完成自动结束交易时间
     */
    private Integer completetime;

    /**
     * 订单完成自动评价时间
     */
    private Integer evaluatetime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(Integer ordertime) {
        this.ordertime = ordertime;
    }

    public Integer getDeliverytime() {
        return deliverytime;
    }

    public void setDeliverytime(Integer deliverytime) {
        this.deliverytime = deliverytime;
    }

    public Integer getCompletetime() {
        return completetime;
    }

    public void setCompletetime(Integer completetime) {
        this.completetime = completetime;
    }

    public Integer getEvaluatetime() {
        return evaluatetime;
    }

    public void setEvaluatetime(Integer evaluatetime) {
        this.evaluatetime = evaluatetime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Orderdeploy other = (Orderdeploy) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrdertime() == null ? other.getOrdertime() == null : this.getOrdertime().equals(other.getOrdertime()))
            && (this.getDeliverytime() == null ? other.getDeliverytime() == null : this.getDeliverytime().equals(other.getDeliverytime()))
            && (this.getCompletetime() == null ? other.getCompletetime() == null : this.getCompletetime().equals(other.getCompletetime()))
            && (this.getEvaluatetime() == null ? other.getEvaluatetime() == null : this.getEvaluatetime().equals(other.getEvaluatetime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrdertime() == null) ? 0 : getOrdertime().hashCode());
        result = prime * result + ((getDeliverytime() == null) ? 0 : getDeliverytime().hashCode());
        result = prime * result + ((getCompletetime() == null) ? 0 : getCompletetime().hashCode());
        result = prime * result + ((getEvaluatetime() == null) ? 0 : getEvaluatetime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", ordertime=").append(ordertime);
        sb.append(", deliverytime=").append(deliverytime);
        sb.append(", completetime=").append(completetime);
        sb.append(", evaluatetime=").append(evaluatetime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}